<template>
    <div class="middle">
        <h1>这是中间部分</h1>
        <MiddleRect></MiddleRect>
    </div>
</template>

<script>
import MiddleRect from './Middle/MiddleRect.vue';
    export default {
        name:'Middle',
        data(){
            return{

            };
        },
        components:{ MiddleRect },
    }
</script>

<style scoped>
    .middle{
        width: 200px;
        height: 100px;
        background-color: red;
    }
</style>